//
//  FSWebViewController.m
//  fanshu
//
//  Created by jklin on 16/3/29.
//  Copyright © 2016年 FS. All rights reserved.
//

#import "FSWebViewController.h"

@interface FSWebViewController ()

@end

@implementation FSWebViewController

//-(void)setWebViewWithURL:(NSURL *)url{
//    NSURLRequest *request = [[NSURLRequest alloc]initWithURL:url];
//    [self.WebView loadRequest:request];
//}
- (void)viewDidLoad {
    [super viewDidLoad];
    NSURL *url = [NSURL URLWithString:@"http://www.baidu.com"];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [self.WebView loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
-(instancetype)init{
    UIStoryboard *disappearStoryBoard = [UIStoryboard storyboardWithName:@"FSWebStoryBoard" bundle:nil];
    self = [disappearStoryBoard instantiateInitialViewController];
    return self;
}
//+(instancetype)webViewWithURL:(NSURL *)url{
//    FSWebViewController *webViewController = [[FSWebViewController alloc]init];
//    NSURLRequest *request = [[NSURLRequest alloc]initWithURL:url];
//    
//    [webViewController.WebView loadRequest:request];
//    
//    return webViewController;
//}
//-(instancetype)initWithURL:(NSURL *)url{
//    self = [super init];
//
//
//    return self;
//}
@end
